package com.ruoyi.system.wnjk.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.wnjk.domain.po.TripartiteLogisticsData;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单物流详情对象 shop_logistics_details
 *
 * @author ruoyi
 * @date 2025-03-05
 */
public class ShopLogisticsDetailsVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long id;

    /** 订单ID */
    private Long orderId;

    /** 物流单号 */
    private String logisticsId;

    /** 物流状态 */
    private String status;

    /** 描述 */
    private String description;

    /** 地点 */
    private String location;

    /** 处理人 */
    private String handler;

    /**
     * 用户昵称
     */
    private String nickname;

    /**
     * 会员等级
     */
    private String membershipLevel;

    /**
     * 用户手机号
     */
    private String phone;

    public TripartiteLogisticsData getTripartiteLogisticsData() {
        return tripartiteLogisticsData;
    }

    public void setTripartiteLogisticsData(TripartiteLogisticsData tripartiteLogisticsData) {
        this.tripartiteLogisticsData = tripartiteLogisticsData;
    }

    /**
     * 快递信息
     */
    private TripartiteLogisticsData tripartiteLogisticsData;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMembershipLevel() {
        return membershipLevel;
    }

    public void setMembershipLevel(String membershipLevel) {
        this.membershipLevel = membershipLevel;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setLogisticsId(String logisticsId)
    {
        this.logisticsId = logisticsId;
    }

    public String getLogisticsId()
    {
        return logisticsId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setHandler(String handler)
    {
        this.handler = handler;
    }

    public String getHandler()
    {
        return handler;
    }

    @Override
    public String toString() {
        return "ShopLogisticsDetailsVo{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", logisticsId='" + logisticsId + '\'' +
                ", status='" + status + '\'' +
                ", description='" + description + '\'' +
                ", location='" + location + '\'' +
                ", handler='" + handler + '\'' +
                ", nickname='" + nickname + '\'' +
                ", membershipLevel='" + membershipLevel + '\'' +
                ", phone='" + phone + '\'' +
                ", tripartiteLogisticsData=" + tripartiteLogisticsData +
                '}';
    }

    //    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("id", getId())
//            .append("orderId", getOrderId())
//            .append("logisticsId", getLogisticsId())
//            .append("status", getStatus())
//            .append("description", getDescription())
//            .append("location", getLocation())
//            .append("handler", getHandler())
//            .append("createTime", getCreateTime())
//            .toString();
//    }
}
